package demo2;

public class Test {
    public static void drawMap(IShape iShape){
        iShape.draw();
    }
    public static void main(String[] args) {
        IShape IShape1 = new Cycle();
        IShape IShape2 = new Rect();
        IShape1.draw();
        IShape2.draw();
    }
}
